----------------------------
Pottwal
----------------------------

:: name

Pottwal is German for "sperm whale". Why is it called that? I have no idea. You'll have to ask somebody else.

:: general

The Pottwal is a spectral somethingification effect. It bends and scales the spectrum around and so on. Parameter descriptions below. NOTE: Because of the way the effect works, there's a delay of Size/2 samples. You can use a Jeskola Delay with no feedback and no dry output to adjust other routes.
FFT code by Laurent de Soras (Ohm Force/Firesledge) for speed reasons.

:: parameters

Transpose/Fine tune:	Bad pitch shifter.
Start/End:		Stretches and shifts the spectrum as the Food does, except it sounds cleaner.
Nonlinearity:		Bends the spectrum.
Threshold:		A threshold. What's it for? See below.
Mode Above/Below:	What to do with frequencies above/below the spectrum.
				Nothing: 	Ignores the threshold.
				Cut:		Removes all frequencies above/below the threshold.
				Thr Noise:	Assigns a random amplitude to frequencies above/below
						the threshold, the threshold being the maximum value.
				Lev Noise:	Assigns a random amplitude to frequencies above/below
						the threshold, the original value being the maximum.
Mix:			Adjusts the balance between dry and wet signal.
Gain:			Just a postamp. Every machine should have one.
Size:			Size of the FFT. Higher sizes will mess up rhythms and sounds with hard attacks.

:: intended use

DESTROY EVERYTHING.

:: other notes

Badly optimized and still not as clean as I'd wish it to be, because I suck.